<!DOCTYPE html>
<html>
<head>
<title>企业资料</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			#if($shiro.hasPermission("payChannel:update"))
			#end
			<div class="form-group col-sm-2">
				<input id="keyword" type="text" maxlength="25" class="form-control" v-model="q.shopName" @keyup.enter="query" placeholder="企业名称，只能输入中英文、数字" onkeyup="value=value.replace(/[^\a-\z\A-\Z0-9\u4E00-\u9FA5]/g,'')">
			</div>
			<a class="btn btn-default" @click="query">查询</a>
			
			#if($shiro.hasPermission("bankInfo:list"))
			<a class="btn btn-primary" @click="editBankInfo"><i class="fa fa-pencil-square-o"></i>&nbsp;收款卡信息维护</a>
			#end
			#if($shiro.hasPermission("payChannel:list"))
			<a class="btn btn-primary" @click="editPayCh"><i class="fa fa-pencil-square-o"></i>&nbsp;支付渠道商维护</a>
			#end
			
			
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
     <div v-show="!showList" class="panel panel-default" id="edit">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
	
			<!-- <div class="form-group">
			   	<div class="col-sm-2 control-label">企业号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control"  v-model="merchantInfo.merchantNo" placeholder="企业号"/>
			    </div>
			</div> -->
			<div class="form-group">
			   	<div class="col-sm-2 control-label">联系电话</div>
			   	<div class="col-sm-10">
			      <input type="tel" class="form-control" v-model="merchantInfo.mobilephone" placeholder="企业申请人的电话"/>
			    </div>
			</div>
			<div class="form-group">
			   	<div class="col-sm-2 control-label">用户姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="merchantInfo.username" placeholder="企业申请人的姓名"/>
			    </div>
			</div>
			<!-- <div class="form-group">
			   	<div class="col-sm-2 control-label">身份证号码</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="merchantInfo.idCard" placeholder="用户身份证号码"/>
			    </div>
			</div> -->
			<div class="form-group">
			   	<div class="col-sm-2 control-label">帐户名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="merchantInfo.bankUser" placeholder="银行开户名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">银行卡号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="merchantInfo.bankCard" placeholder="银行卡号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">开户行名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="merchantInfo.bankName" placeholder="银行名称"/>
			    </div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/js/merchant/editInfo.js?_${date.systemTime}"></script>
</body>
</html>